home *** CD-ROM | disk | FTP | other *** search
/ Delphi Magazine Collection 2001 / Delphi Magazine Collection 20001 (2001).iso / DISKS / ISSUE02 / LOCATE / LOCATE.ZIP / DEMOS.ZIP / DBFUNIT.PAS < prev    next >
Encoding:
Pascal/Delphi Source File  |  1995-04-05  |  1.2 KB  |  54 lines

  1. unit Dbfunit;
  2.  
  3. interface
  4.  
  5. uses
  6.   SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls,
  7.   Forms, Dialogs, StdCtrls, DBTables, DB, Grids, DBGrids, Locate;
  8.  
  9. type
  10.   TForm1 = class(TForm)
  11.     DBLocate1: TDBLocate;
  12.     DBGrid1: TDBGrid;
  13.     DataSource1: TDataSource;
  14.     Table1: TTable;
  15.     Label1: TLabel;
  16.     Button1: TButton;
  17.     Table1SYMBOL: TStringField;
  18.     Table1CO_NAME: TStringField;
  19.     Table1EXCHANGE: TStringField;
  20.     Table1CUR_PRICE: TFloatField;
  21.     Table1YRL_HIGH: TFloatField;
  22.     Table1YRL_LOW: TFloatField;
  23.     Table1P_E_RATIO: TFloatField;
  24.     Table1BETA: TFloatField;
  25.     Table1PROJ_GRTH: TFloatField;
  26.     Table1INDUSTRY: TSmallintField;
  27.     Table1PRICE_CHG: TSmallintField;
  28.     Table1SAFETY: TSmallintField;
  29.     Table1RATING: TStringField;
  30.     Table1RANK: TFloatField;
  31.     Table1OUTLOOK: TSmallintField;
  32.     Table1RCMNDATION: TStringField;
  33.     Table1RISK: TStringField;
  34.     procedure Button1Click(Sender: TObject);
  35.   private
  36.     { Private declarations }
  37.   public
  38.     { Public declarations }
  39.   end;
  40.  
  41. var
  42.   Form1: TForm1;
  43.  
  44. implementation
  45.  
  46. {$R *.DFM}
  47.  
  48. procedure TForm1.Button1Click(Sender: TObject);
  49. begin
  50.   dbLocate1.execute;
  51. end;
  52.  
  53. end.
  54.